package com.hongfeng.support.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hongfeng.support.model.common.BaseEntity;

/**
 * 
 * <汽车品牌>
 *
 * @author llc
 * @date 创建时间：2012-12-5 下午04:38:35
 */
@Entity
@Table(name = "auto_brand")
public class AutoBrand extends BaseEntity {

	private static final long serialVersionUID = -9197160691877619855L;

	@Id
	@GeneratedValue
	private Long id;
	// 品牌名称
	@Column(name = "name", length = 100, nullable = false)
	private String name;
	// 图片URL
	@Column(name = "image_url", length = 100, nullable = false)
	private String imageUrl;
	// 备注
	@Column(name = "memo", length = 200)
	private String memo;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
